import { createRouter, createWebHashHistory } from "vue-router";

const router = createRouter({
    history: createWebHashHistory(),
    routes: [{
        path: "/",
        title: "监控",
        icon: <platform />,
        component: () => import("../views/Home")
    }, {
        path: "/config",
        title: "报警设置",
        icon: <odometer />,
        component: () => import("../views/Config")
    }]
})

export default router